import request from "@/utils/http";

//获取bannerlist
export const reqBannerList = (params = {}) => {
    const { distributionSite = '1' } = params;
    return request({ url: '/home/banner', method: 'get', params: { distributionSite } })
}

// 获取新鲜好物数据
export const reqNew = () => request({ url: '/home/new', method: 'get' })
// 获取首页商品
export const reqGoods = () => request({ url: '/home/goods', method: 'get' })
